// 前端正常路由 delete 掉了componentPathPath和meta属性的路由信息
export const RouterMockData = [{
  'path': '/admin',
  'name': 'admin',
  'meta': { 'title': '首页' },
  'redirect': '/dashboard/analysis',
  'children': [{
    'path': '/index',
    'name': 'adminIndex',
    'redirect': '/index/dashboard',
    'meta': {
      'title': '仪表盘',
      'keepAlive': true,
      'icon': 'dashboard',
      'permission': ['dashboard']
    },
    'children': [{
      'path': '/dashboard/analysis',
      'name': 'Analysis',
      'componentPath': 'views/dashboard/Analysis.vue',
      'meta': { 'title': '运行状态', 'keepAlive': false, 'permission': ['dashboard'] }

    }],
    'componentPath': 'layouts/RouteView.vue'
  }, {
    'path': '/system',
    'name': 'systemSettings',
    'redirect': '/system/menu',
    'meta': { 'title': '系统设置', 'keepAlive': true, 'icon': 'setting', 'permission': ['dashboard'] },
    'children': [{
      'path': '/system/menu',
      'name': 'SystemMenu',
      'componentPath': 'views/admin/system/MenueManager.vue',
      'meta': { 'title': '菜单管理', 'keepAlive': false, 'permission': ['dashboard'] }
    }, {
      'path': '/system/permission',
      'name': 'SystemPermission',
      'componentPath': 'views/admin/system/PermissionManager.vue',
      'meta': { 'title': '权限管理', 'keepAlive': false, 'permission': ['dashboard'] }
    }, {
      'path': '/system/role',
      'name': 'SystemRole',
      'componentPath': 'views/admin/system/RoleManager.vue',
      'meta': { 'title': '角色管理', 'keepAlive': false, 'permission': ['dashboard'] }
    }, {
      'path': '/system/websiteInfo',
      'name': 'SystemWebsiteInfo',
      'componentPath': 'views/admin/system/WebsiteInfoManger.vue',
      'meta': { 'title': '网站信息管理', 'keepAlive': false, 'permission': ['dashboard'] }
    }],
    'componentPath': 'layouts/RouteView.vue'
  }, {
    'path': '/blog',
    'name': 'adminBlog',
    'redirect': '/blog/write',
    'meta': { 'title': '博客管理', 'keepAlive': true, 'icon': 'cloud-server', 'permission': ['dashboard'] },
    'children': [{
      'path': '/blog/write',
      'name': 'BlogWrite',
      'componentPath': 'views/admin/index/BlogWritePage.vue',
      'meta': { 'title': '写博文', 'keepAlive': false, 'permission': ['dashboard'] }
    }, {
      'path': '/blog/manager',
      'name': 'BlogManager',
      'componentPath': 'views/admin/index/BlogManager.vue',
      'meta': { 'title': '博文管理', 'keepAlive': false, 'permission': ['dashboard'] }
    }, {
      'path': '/blog/commentReply',
      'name': 'BlogCommentReply',
      'componentPath': 'views/admin/index/CommentReplyManager.vue',
      'meta': { 'title': '评论回复管理', 'keepAlive': false, 'permission': ['dashboard'] }
    }],
    'componentPath': 'layouts/RouteView.vue'
  }, {
    'path': '/demo',
    'name': 'adminDemo',
    'redirect': '/demo/dashboard',
    'meta': { 'title': '模板页面', 'keepAlive': true, 'icon': 'file-protect', 'permission': ['dashboard'] },
    'children': [{
      'path': '/dashboard',
      'name': 'dashboard',
      'redirect': '/dashboard/workplace',
      'meta': {
        'title': '仪表盘',
        'keepAlive': true,
        'permission': ['dashboard']
      },
      'children': [{
        'path': '/dashboard/analysis',
        'name': 'Analysis',
        'componentPath': 'views/dashboard/Analysis.vue',
        'meta': { 'title': '分析页', 'keepAlive': false, 'permission': ['dashboard'] }
      }, {
        'path': 'https://www.baidu.com/',
        'name': 'Monitor',
        'meta': { 'title': '监控页（外部）', 'target': '_blank' }
      }, {
        'path': '/dashboard/workplace',
        'name': 'Workplace',
        'componentPath': 'views/dashboard/Workplace.vue',
        'meta': { 'title': '工作台', 'keepAlive': true, 'permission': ['dashboard'] }
      }, {
        'path': '/dashboard/test-work',
        'name': 'TestWork',
        'componentPath': 'views/dashboard/TestWork.vue',
        'meta': { 'title': '测试功能', 'keepAlive': true, 'permission': ['dashboard'] }
      }],
      'componentPath': 'layouts/RouteView.vue'
    }, {
      'path': '/form',
      'name': 'form',
      'redirect': '/form/base-form',
      'meta': { 'title': '表单页', 'icon': 'form', 'permission': ['form'] },
      'children': [{
        'path': '/form/base-form',
        'name': 'BaseForm',
        'componentPath': 'views/form/BasicForm.vue',
        'meta': { 'title': '基础表单', 'keepAlive': true, 'permission': ['form'] }
      }, {
        'path': '/form/step-form',
        'name': 'StepForm',
        'componentPath': 'views/form/stepForm/StepForm.vue',
        'meta': { 'title': '分步表单', 'keepAlive': true, 'permission': ['form'] }
      }, {
        'path': '/form/advanced-form',
        'name': 'AdvanceForm',
        'componentPath': 'views/form/advancedForm/AdvancedForm.vue',
        'meta': { 'title': '高级表单', 'keepAlive': true, 'permission': ['form'] }
      }],
      'componentPath': 'layouts/PageView.vue'
    }, {
      'path': '/list',
      'name': 'list',
      'redirect': '/list/table-list',
      'meta': { 'title': '列表页', 'icon': 'table', 'permission': ['table'] },
      'children': [{
        'path': '/list/table-list/:pageNo([1-9]\\d*)?',
        'name': 'TableListWrapper',
        'hideChildrenInMenu': true,
        'componentPath': 'views/list/TableList.vue',
        'meta': { 'title': '查询表格', 'keepAlive': true, 'permission': ['table'] }
      }, {
        'path': '/list/basic-list',
        'name': 'BasicList',
        'componentPath': 'views/list/StandardList.vue',
        'meta': { 'title': '标准列表', 'keepAlive': true, 'permission': ['table'] }
      }, {
        'path': '/list/card',
        'name': 'CardList',
        'componentPath': 'views/list/CardList.vue',
        'meta': { 'title': '卡片列表', 'keepAlive': true, 'permission': ['table'] }
      }, {
        'path': '/list/search',
        'name': 'SearchList',
        'redirect': '/list/search/article',
        'meta': { 'title': '搜索列表', 'keepAlive': true, 'permission': ['table'] },
        'children': [{
          'path': '/list/search/article',
          'name': 'SearchArticles',
          'componentPath': 'views/list/search/Article.vue',
          'meta': { 'title': '搜索列表（文章）', 'permission': ['table'] }
        }, {
          'path': '/list/search/project',
          'name': 'SearchProjects',
          'componentPath': 'views/list/search/Projects.vue',
          'meta': { 'title': '搜索列表（项目）', 'permission': ['table'] }
        }, {
          'path': '/list/search/application',
          'name': 'SearchApplications',
          'componentPath': 'views/list/search/Applications.vue',
          'meta': { 'title': '搜索列表（应用）', 'permission': ['table'] }
        }]
      }],
      'componentPath': 'layouts/PageView.vue'
    }, {
      'path': '/profile',
      'name': 'profile',
      'redirect': '/profile/basic',
      'meta': { 'title': '详情页', 'icon': 'profile', 'permission': ['profile'] },
      'children': [{
        'path': '/profile/basic',
        'name': 'ProfileBasic',
        'componentPath': 'views/profile/basic/Index.vue',
        'meta': { 'title': '基础详情页', 'permission': ['profile'] }
      }, {
        'path': '/profile/advanced',
        'name': 'ProfileAdvanced',
        'componentPath': 'views/profile/advanced/Advanced.vue',
        'meta': { 'title': '高级详情页', 'permission': ['profile'] }
      }],
      'componentPath': 'layouts/RouteView.vue'
    }, {
      'path': '/result',
      'name': 'result',
      'redirect': '/result/success',
      'meta': { 'title': '结果页', 'icon': 'check-circle-o', 'permission': ['result'] },
      'children': [{
        'path': '/result/success',
        'name': 'ResultSuccess',
        'componentPath': 'views/result/Success.vue',
        'meta': { 'title': '成功', 'keepAlive': false, 'hiddenHeaderContent': true, 'permission': ['result'] }
      }, {
        'path': '/result/fail',
        'name': 'ResultFail',
        'componentPath': 'views/result/Error.vue',
        'meta': { 'title': '失败', 'keepAlive': false, 'hiddenHeaderContent': true, 'permission': ['result'] }
      }],
      'componentPath': 'layouts/PageView.vue'
    }, {
      'path': '/exception',
      'name': 'exception',
      'redirect': '/exception/403',
      'meta': { 'title': '异常页', 'icon': 'warning', 'permission': ['exception'] },
      'children': [{
        'path': '/exception/403',
        'name': 'Exception403',
        'componentPath': 'views/exception/403.vue',
        'meta': { 'title': '403', 'permission': ['exception'] }
      }, {
        'path': '/exception/404',
        'name': 'Exception404',
        'componentPath': 'views/exception/404.vue',
        'meta': { 'title': '404', 'permission': ['exception'] }
      }, {
        'path': '/exception/500',
        'componentPath': 'views/exception/500.vue',
        'name': 'Exception500',
        'meta': {
          'title': '500', 'permission': ['exception']
        }
      }],
      'componentPath': 'layouts/RouteView.vue'
    }, {
      'path': '/account',
      'redirect': '/account/center',
      'name': 'account',
      'meta': { 'title': '个人页', 'icon': 'user', 'keepAlive': true, 'permission': ['user'] },
      'children': [{
        'path': '/account/center',
        'name': 'center',
        'componentPath': 'views/account/center/Index.vue',
        'meta': { 'title': '个人中心', 'keepAlive': true, 'permission': ['user'] }
      }, {
        'path': '/account/settings',
        'name': 'settings',
        'componentPath': 'views/account/settings/Index.vue',
        'meta': { 'title': '个人设置', 'hideHeader': true, 'permission': ['user'] },
        'redirect': '/account/settings/base',
        'hideChildrenInMenu': true,
        'children': [{
          'path': '/account/settings/base',
          'name': 'BaseSettings',
          'componentPath': 'views/account/center/BaseSetting.vue',
          'meta': { 'title': '基本设置', 'permission': ['user'] }
        }, {
          'path': '/account/settings/security',
          'name': 'SecuritySettings',
          'componentPath': 'views/account/settings/Security.vue',
          'meta': { 'title': '安全设置', 'keepAlive': true, 'permission': ['user'] }
        }, {
          'path': '/account/settings/custom',
          'name': 'CustomSettings',
          'componentPath': 'views/account/settings/Custom.vue',
          'meta': { 'title': '个性化设置', 'keepAlive': true, 'permission': ['user'] }
        }, {
          'path': '/account/settings/binding',
          'name': 'BindingSettings',
          'componentPath': 'views/account/settings/Binding.vue',
          'meta': { 'title': '账户绑定', 'keepAlive': true, 'permission': ['user'] }
        }, {
          'path': '/account/settings/notification',
          'name': 'NotificationSettings',
          'componentPath': 'views/account/settings/Notification.vue',
          'meta': { 'title': '新消息通知', 'keepAlive': true, 'permission': ['user'] }
        }]
      }],
      'componentPath': 'layouts/RouteView.vue'
    }, {
      'path': '/other',
      'name': 'otherPage',
      'meta': { 'title': '其他组件', 'icon': 'slack', 'permission': ['dashboard'] },
      'redirect': '/other/icon-selector',
      'children': [{
        'path': '/other/icon-selector',
        'name': 'TestIconSelect',
        'componentPath': 'views/other/IconSelectorView.vue',
        'meta': { 'title': 'IconSelector', 'icon': 'tool', 'keepAlive': true, 'permission': ['dashboard'] }
      }, {
        'path': '/other/list',
        'meta': { 'title': '业务布局', 'icon': 'layout', 'permission': ['support'] },
        'redirect': '/other/list/tree-list',
        'children': [{
          'path': '/other/list/tree-list',
          'name': 'TreeList',
          'componentPath': 'views/other/TreeList.vue',
          'meta': { 'title': '树目录表格', 'keepAlive': true }
        }, {
          'path': '/other/list/edit-table',
          'name': 'EditList',
          'componentPath': 'views/other/TableInnerEditList.vue',
          'meta': { 'title': '内联编辑表格', 'keepAlive': true }
        }, {
          'path': '/other/list/user-list',
          'name': 'UserList',
          'componentPath': 'views/other/UserList.vue',
          'meta': { 'title': '用户列表', 'keepAlive': true }
        }, {
          'path': '/other/list/role-list',
          'name': 'RoleList',
          'componentPath': 'views/other/RoleList.vue',
          'meta': { 'title': '角色列表', 'keepAlive': true }
        }, {
          'path': '/other/list/system-role',
          'name': 'SystemRole',
          'componentPath': 'views/role/RoleList.vue',
          'meta': { 'title': '角色列表2', 'keepAlive': true }
        }, {
          'path': '/other/list/permission-list',
          'name': 'PermissionList',
          'componentPath': 'views/other/PermissionList.vue',
          'meta': { 'title': '权限列表', 'keepAlive': true }
        }],
        'componentPath': 'layouts/RouteView.vue'
      }],
      'componentPath': 'layouts/PageView.vue'
    }],
    'componentPath': 'layouts/RouteView.vue'
  }],
  'componentPath': 'layouts/BasicLayout.vue'
}, { 'path': '*', 'redirect': '/404', 'hidden': true }]

